<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>鱼鱼</title>
  <link rel="icon" href="./images/taiji.png" type="image/x-icon" />
  <style>
    html,
    body {
      margin: 0;
      padding: 0;
    }

    .content {
      padding: 100px 300px;
      height: 100vh;
      width: 100vw;
      box-sizing: border-box;
      position: relative;
      transform-style: preserve-3d;
      transform: perspective(800px);
    }

    @keyframes fish {
  0% {
    transform:rotateX(45deg) rotateZ(0deg);
  }

  100% {
    transform:rotateX(45deg) rotateZ(-360deg);
  }
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(270px);
  }
}

    .fish {
      width: 400px;
      height: 400px;
      position: absolute;
      transform-style: preserve-3d;
      transform: perspective(800px);
      transform: rotateX(45deg);
      animation: fish 2s linear infinite;
    }

    .fish>div:first-of-type {
      height: 50%;
      width: 50%;
      position: absolute;
      top: 0;
      left: 0;
      border-top-left-radius: 100%;
      /* background: radial-gradient(circle, #f00, #ff0, #080); */
      /* background: radial-gradient(circle at 100% 50%, transparent 99px, rgba(red, 0.6) 0%); */
      background: radial-gradient(circle at 200px 100px, transparent 99px, rgba(255,0,0,.6) 99px);
    }

    .fish>div:first-of-type::after {
        content: '';
        display: block;
        width: 20px;
        height: 0;
        box-shadow: 0px 0px 5px yellow,
          0px 0px 10px yellow,
          0px 0px 10px #e9ec28,
          0px 0px 10px #dadd3f,
          0px 0px 10px #e9ec28;
        border: 1px solid #fff;
        position: absolute;
        top: 1px;
        left: 179px;
        /* transform: rotateY(-7deg) rotateX(10deg); */
      }
    

    .fish>div:nth-of-type(2) {
      height: 50%;
      width: 50%;
      position: absolute;
      bottom: 0;
      left: 0;
      /* background-color: turquoise; */
      border-bottom-left-radius: 100%;
      background: radial-gradient(circle at 200px 100px, transparent 99px, rgba(255,0,0,.6) 99px);
    }

    .fish>div:nth-of-type(3) {
      height: 50%;
      width: 50%;
      position: absolute;
      bottom: 0;
      left: 101px;
      border-radius: 50%;
      background-color: turquoise;
      background: radial-gradient(circle at 100px 100px, transparent 50px, rgba(255,0,0,.6) 50px);
    }

    .point {
      height: 80px;
      width: 80px;
      position: absolute;
      z-index: 1;
      top: 43px;
      left: 465px;
      border-radius: 50%;
      background-color: rgba(0, 217, 255, 0.7);
      animation: jump 1s linear 1s infinite alternate;
    }
  </style>
</head>

<body>
  <div class="content">
    <div class="fish">
      <div></div>
      <div></div>
      <div></div>
    
    </div>
    <div class="point">
    </div>
  </div>
</body>

</html>